#include "include.h"
// initial x/y potision, sprite resolition x/y
Player::Player(int xPosition, int yPosition, int xResolution, int yResolution)
{
    this->xPosition = xPosition;
    this->yPosition = yPosition;
    this->xResolution = xResolution;
    this->yResolution = yResolution;
    hitPoints = MAX_HP;
}
// reduce player hit points
void Player::decrementHitPoints()
{
        hitPoints--;
}
// return how many hit points the player has left
int Player::getHitPoints()
{
        return hitPoints;
}
